package com.xnyzc.lhy.mis.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表
 *
 * @author wangshuo
 * @since 2019-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OaSysSendMessage对象", description = "短信发送配置表")
public class OaSysSendMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @ApiModelProperty(value = "归属公司")
    private Long officeId;

    @ApiModelProperty(value = "司管电话")
    private Long managerPhone;

    @ApiModelProperty(value = "新订单发送司管")
    private int newOrderToManager;

    @ApiModelProperty(value = "新订单发送司机")
    private int newOrderToDriver;

    @ApiModelProperty(value = "未派订单预警")
    private int undeliveredEarlyWarning;

    @ApiModelProperty(value = "司机订单预警")
    private int driverOrderEarlyWarning;

    public static final String ID = "id";

    public static final String OFFICE_ID = "office_id";

    public static final String NEW_ORDER_TO_MANAGER = "new_order_to_manager";

    public static final String NEW_ORDER_TO_DRIVER = "new_order_to_driver";

    public static final String UNDELIVERED_PREVIEW_WARNING = "undelivered_early_warning";

    public static final String DRIVER_ORDER_EARLY_WARNING = "driver_order_early_warning";

    public static final String MANAGER_PHONE = "manager_phone";
}
